#pragma once
#include "Types.h"
#include <gl/glew.h>
#include <iostream>
#include <fbxsdk.h>
#include <sfml/System.hpp>

class Model
{
public:
	Model(std::string modelName);
	virtual ~Model();
	
	virtual void Draw(const sf::Vector2f& offset, const sf::Vector2f& facing);

protected:
	KFbxScene* m_model;
	float m_frame;
	VBOID* VBOIDs;

	void RenderMesh(int mesh, GLuint shader = 0);
	void RenderMeshs(GLuint shader = 0);

	ModelData* m_Data;
};
